#pragma once

#include "NFServerComm/NFServerCommon/NFIDescStore.h"
#include "NFServerComm/NFServerCommon/NFIDescTemplate.h"
#include "NFLogicCommon/NFDescStoreTypeDefines.h"
#include "E_Taskdynamic.nanopb.h"
#define MAX_TASKDYNAMIC_TASK_NUM 128

class TaskdynamicTaskDesc : public NFIDescTemplate<TaskdynamicTaskDesc, E_TaskdynamicTask, EOT_CONST_TASKDYNAMIC_TASK_DESC_ID, MAX_TASKDYNAMIC_TASK_NUM>
{
public:
	TaskdynamicTaskDesc();
	virtual ~TaskdynamicTaskDesc();
	int CreateInit();
	int ResumeInit();
public:
	virtual int Load(NFResDb *pDB) override;
	virtual int CheckWhenAllDataLoaded() override;
};
